package org.shanyu.tide.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.shanyu.tide.model.Hr;
import org.shanyu.tide.model.Role;

import java.util.List;

public interface HrMapper extends BaseMapper<Hr> {
    Hr loadUserByUsername(String username);

    List<Role> getRolesByUserId(Integer hrid);

}
